#ifndef winSocket_h__
#define winSocket_h__
#include "../../inc/skyAdapter.h"
#include "../../inc/skyObject.h"
#include "../../inc/skyDelegate.h"
#include "../../inc/skyBuffer.h"
#ifdef _WIN_

namespace Sky
{
    class OSSocket : public Object
    {
    public:
        typedef fastdelegate::FastDelegate2<const i8*, i32> DoneCallback;
    public:
        virtual void onReadDataDone( BufferPtr& aData )
        {
           
        }
        virtual void onWriteDataDone( BufferPtr& aData )
        {		
            
        }
    protected:
        DoneCallback _rcb;
        DoneCallback _wcb;
		Bool _reading;
		Bool _writing;
    };
}
#endif
#endif
